package day4;


import java.util.Scanner;

//计算糖果
public class oj1 {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        int d = scan.nextInt();
        int A = (a + c)/2;
        int B = (b + d)/2;
        int B2 = (c - a)/2;
        int C = (d - b)/2;
        if(B == B2) {
            System.out.print(A + " " + B + " "+ C);
        }else {
            System.out.print("No");
        }
    }
}
